export interface MemberCardDto {
    id: number
    name: string
    status: number
    releaseTime: string
    originalPrice: number
    price: number
    validityMonth: number
    dueDate: string
    introduce: string
    isDelete: number
    createTime: string
    createUserId: number
    vipCount: number
    vipNewCount: number
}

export interface RightsDto {
    id: number
    vipCardId: number
    name: string
    introduce: string
    fileUrl: string
    productType: string
    num: number
    unit: string
    isWriteOff: number
    dueDate: string
    useRule: string
    rightsType: number
}

export interface RightsDataDto {
    receiveCount: number
    useCount: number
    leadDealAmount: number
    writeOffCount: number
    buyCount: number
}

export interface MemberShipCheckedDto {
    id: number
    giftName: string
    companyName: string
    superAdminName: string
    phone: string
    useTime: string
    dueDate: string
    writeOffUserName: string
}

export interface QueryVipCompanyDto {
    companyName?: string
    /**
     * 开通时间
     */
    openTime?: string
    /**
     * 所属商务
     */
    saleId?: string
    /**
     * 排序字段
     */
    sortField?: string
    /**
     * 排序类型
     */
    sortOrder?: string
    /**
     * 状态（0：未到期，1：已过期）
     */
    status?: string
    /**
     * 会员卡名称
     */
    vipCardName?: string
}

export interface VipCompanyDto {
    id: number
    companyId: number
    companyName: string
    vipCardId: number
    vipCardName: string
    openTime: string
    dueTime: null
    status: number
    adminName: string
    phone: string
    saleNames: string[]
}


export interface AddVipCardReqDto {
    name: string
    status: number
    releaseTime: number
    originalPrice: number
    price: number
    validityMonth: number
    introduce: string
    rightsList: RightsDto[]
}


export interface RightsItemDto {
    rightsType: number
    name: string
    introduce: string
    productType: number[]
    fileUrl: string[]
    limitNum: string
    amountUnit: number
    isWriteOff: number
    useRule: string
    otherRule: string
    timeModel: string
    startTime: string
    endTime: string
    limitTime: string
    useScope: string
    amount: string
    useLimit: string
    basicsAmount: string
    getMode: string
    receiveModel: string
    num: string
    limitUse: string
    distributeMode: string
    seq: number
}
